Device and method of unlocking device

ABSTRACT

A device and a method of unlocking a device are provided. The method of unlocking a device includes: determining whether an input tool of the device is separated from the device, when a disabled screen of the device is enabled; selecting one user interface from among a plurality of user interfaces for unlocking the device on the enabled screen of the device, based on the determination result; displaying the selected user interface on the screen of the device; and receiving a touch input with respect to the displayed user interface. The plurality of user interface include a user interface for receiving a touch input by the input tool and a user interface for receiving a touch input by a body part of a user.

TECHNICAL FIELD

One or more exemplary embodiments relate to a device and a method ofunlocking a device based on attachment/detachment of an input tool or ahovering input.

BACKGROUND ART

With the development of multimedia technologies and networktechnologies, various types of devices have been available. In addition,in order to protect a user's privacy for data stored in a device andprevent indiscriminate use by the third party, unlocking technologiesfor unlocking the device have been developed. Furthermore, a device thatsupports a separate input tool may distinguish a touch input by theinput tool and a touch input by a body part of a user. Accordingly,various types of unlocking methods have been provided.

Thus, there is a need for a technology that allows a user to more easilyunlock a device by effectively providing an unlocking screen optimizedfor each touch input unit.

DISCLOSURE OF INVENTION SOLUTION TO PROBLEM

One or more exemplary embodiments include a device and a method ofunlocking a device, capable of selectively displaying a user interfacefor unlocking the device, based on a separation of an input tool fromthe device.

One or more exemplary embodiments include a device and a method ofunlocking a device, capable of selectively displaying a user interfacefor unlocking the device, based on a hovering input with respect to thedevice.

Additional aspects will be set forth in part in the description whichfollows and, in part, will be apparent from the description, or may belearned by practice of the presented exemplary embodiments.

BRIEF DESCRIPTION OF DRAWINGS

These and/or other aspects will become apparent and more readilyappreciated from the following description of the exemplary embodiments,taken in conjunction with the accompanying drawings in which:

FIG. 1 is a diagram of a device that selectively displays a userinterface for unlocking the device, according to an exemplaryembodiment;

FIG. 2 is a flowchart of a method of selectively displaying a userinterface for unlocking a device, based on a separation of an inputtool, according to an exemplary embodiment;

FIG. 3 is a detailed flowchart of a method of selectively displaying auser interface for unlocking a device, based on a separation of an inputtool, according to an exemplary embodiment;

FIG. 4 is a flowchart of a method of selectively displaying a userinterface for unlocking a device, based on a hovering input, accordingto an exemplary embodiment;

FIG. 5 is a detailed flowchart of a method of selectively displaying auser interface for unlocking a device, based on a hovering input,according to an exemplary embodiment;

FIG. 6 is a flowchart of a method of selectively displaying a userinterface for unlocking a device, based on a registration of a signaturein the device, according to an exemplary embodiment;

FIG. 7 is a flowchart of a method of changing a user interface forunlocking a device, based on a hovering input, according to an exemplaryembodiment;

FIG. 8 is a diagram illustrating a configuration of a device fordetermining whether an input tool is separated from the device,according to an exemplary embodiment;

FIGS. 9A to 10D are diagrams of a device that selectively displays auser interface for unlocking the device, based on attachment/detachmentof an input tool, according to an exemplary embodiment;

FIGS. 11A to 12D are diagrams of a device that selectively displays auser interface for unlocking the device, based on a hovering input,according to an exemplary embodiment; and

FIGS. 13 and 14 are block diagrams of a device according to an exemplaryembodiment.

BEST MODE FOR CARRYING OUT THE INVENTION

According to one or more exemplary embodiments, a method of unlocking adevice includes: determining whether an input tool of the device isseparated from the device, when a disabled screen of the device isenabled; selecting one user interface from among a plurality of userinterfaces for unlocking the device of the device, based on thedetermination result; displaying the selected user interface on thescreen of the device; and receiving a touch input with respect to thedisplayed user interface, wherein the plurality of user interfaceinclude a user interface for receiving a touch input by the input tooland a user interface for receiving a touch input by a body part of auser.

The method may further include, when it is determined that the inputtool is separated from the device, enabling a sensor for detecting thetouch input by the input tool, wherein the selecting of the userinterface includes selecting the user interface for receiving the touchinput by the input tool, based on the determination that the input toolis separated from the device.

The user interface for receiving the touch input by the input tool maybe a user interface for receiving a signature input of the user.

The method may further include, when it is determined that the inputtool is not separated from the device, enabling a sensor for detectingthe touch input by the body part of the user, wherein the selecting ofthe user interface include selecting comprises selecting the userinterface for receiving the touch input by the body part of the user,based on the determination that the input tool is not separated from thedevice.

The user interface for receiving the touch input by the body part of theuser may be a user interface for receiving a password input of the useror a pattern input of the user.

A sensor for detecting the touch input by the input tool and a sensorfor detecting the touch input by the body part of the user may beselectively enabled based on the determination result.

According to one or more exemplary embodiments, a method of unlocking adevice includes: receiving a hovering input of a user when a disabledscreen of the device is enabled; determining whether the hovering inputis an input by an input tool or an input by a body part of the user; andselectively displaying a plurality of user interfaces for unlocking thedevice, based on the determination result.

The displaying of the plurality of user interfaces may includedisplaying a user interface for receiving a touch input by the inputtool when it is determined that the hovering input is the input by theinput tool.

The user interface for receiving the touch input by the input tool maybe a user interface for receiving a signature input of the user.

The displaying of the plurality of user interfaces may includedisplaying a user interface for receiving a touch input by the body partof the user, based on the determination that the hovering input is theinput by the body part of the user.

The user interface for receiving the touch input by the body part of theuser may be a user interface for receiving a password input of the useror a pattern input of the user.

The method may further include displaying a first user interface forunlocking the device, wherein the first user interface is changed to asecond user interface for unlocking the device, based on thedetermination result.

The first user interface may be determined according to whether asignature of the user is registered in the device.

According to one or more exemplary embodiments, a device includes: aprocessor that determines whether an input tool of the device isseparated from the device, when a disabled screen of the device isenabled, and selects one user interface from among a plurality of userinterfaces for unlocking the device of the device, based on thedetermination result; and a display unit that displays the selected userinterface on the screen of the device, wherein the processor unlocks thedevice, based on a touch input with respect to the displayed userinterface, and the plurality of user interfaces include a user interfacefor receiving a touch input by the input tool and a user interface forreceiving a touch input by a body part of the user.

When it is determined that the input tool is separated from the device,the processor may enable a sensor for detecting the touch input by theinput tool, and when it is determined that the input tool is separatedfrom the device, the processor may select a sensor for detecting thetouch input by the input tool.

The user interface for receiving the touch input by the input tool maybe a user interface for receiving a signature input of the user.

When it is determined that the input tool is separated from the device,the processor may enable a sensor for detecting the touch input by thebody part of the user, and when it is determined that the input tool isseparated from the device, the processor may select a user interface fordetecting the touch input by the body part of the user.

The user interface for receiving the touch input by the body part of theuser may be a user interface for receiving a password input of the useror a pattern input of the user.

A sensor for detecting the touch input by the input tool and a sensorfor detecting the touch input by the body part of the user may beselectively enabled based on the determination result.

According to one or more exemplary embodiments, a device includes: auser input unit that receives a hovering input of a user when a disabledscreen of the device is enabled; a processor that determines whether thehovering input is an input by an input tool or an input by a body partof the user; and a display unit that selectively displays a plurality ofuser interfaces for unlocking the device, based on the determinationresult.

The display unit may display a user interface for receiving a touchinput by the input tool when it is determined that the hovering input isthe input by the input tool.

The user interface for receiving the touch input by the input tool maybe a user interface for receiving a signature input of the user.

The display unit may display a user interface for receiving the touchinput by the body part of the user when it is determined that thehovering input is the input by the body part of the user.

The user interface for receiving the touch input by the body part of theuser may be a user interface for receiving a password input of the useror a pattern input of the user.

The display unit may display a first user interface for unlocking thedevice, and the first user interface may be changed to a second userinterface for unlocking the device, based on the determination result.

The first user interface may be determined according to whether asignature of the user is registered in the device.

According to one or more exemplary embodiments, a computer-readablerecording medium storing a program for executing the method of one ormore exemplary embodiments.

Mode for the Invention

Reference will now be made in detail to exemplary embodiments, examplesof which are illustrated in the accompanying drawings, wherein likereference numerals refer to like elements throughout. In this regard,the present exemplary embodiments may have different forms and shouldnot be construed as being limited to the descriptions set forth herein.Accordingly, the exemplary embodiments are merely described below, byreferring to the figures, to explain aspects of the present description.As used herein, the term “and/or” includes any and all combinations ofone or more of the associated listed items.

It will be understood that when an element is referred to as being “on,”“connected to” or “coupled to” another element, it may be directly on,electrically connected or coupled to the other element or interveningelements may be present. It will be understood that terms such as“comprise”, “include”, and “have”, when used herein, specify thepresence of stated features, integers, steps, operations, elements,components, or combinations thereof, but do not preclude the presence oraddition of one or more other features, integers, steps, operations,elements, components, or combinations thereof.

FIG. 1 is a diagram of a device 1000 that selectively displays a userinterface for unlocking the device 1000, according to an exemplaryembodiment.

Referring to FIG. 1, when a disabled screen of the device 1000 isenabled, the device 1000 may selectively display user interfaces forunlocking the device 1000. As illustrated in FIG. 1B, the device 1000may display a user interface (for example, a signature input window) forreceiving a touch input by an input tool 20. Alternatively, asillustrated in FIG. 1C, the device 1000 may display a user interface(for example, a pattern input window) for receiving a touch input by afinger of a user. The input tool 20 may be attached to or detached froma groove provided in the device 1000. For example, the input tool 20 mayinclude a stylus pen. However, the exemplary embodiment is not limitedthereto.

In addition, the device 1000 may select or change the user interface tobe displayed on a screen, based on a separation of the input tool 20from the device 1000. In addition, the device 1000 may select or changethe user interface to be displayed on a screen, based on a hoveringinput detected by the device 1000.

The device 1000 may include various devices to which the input tool 20is attachable or detachable. For example, the device 1000 may be asmartphone, a smart TV, a mobile phone, a personal digital assistant(PDA), a laptop computer, a media player, a global positioning system(GPS) device, an e-book terminal, a digital broadcasting terminal, anavigation, a kiosk, an MP3 player, a digital camera, or other mobile ornon-mobile computing devices, but is not limited thereto. In addition,the device 1000 may include various devices, such as an electronicbulletin board or a touch table, which are capable of receiving a touchinput.

FIG. 2 is a flowchart of a method of selectively displaying a userinterface for unlocking the device 100, based on a separation of aninput tool, according to an exemplary embodiment.

In operation S200, the device 1000 may enable a disabled screen thereof.When the device 1000 is in a standby mode, the screen of the device 1000may be disabled. When a button input by a user is received, the device1000 may enable the disabled screen of the device 1000. For example,when a power button, a volume control button, or a home button of thedevice 1000 is pressed, the device 1000 may enable the disabled screenthereof. In addition, for example, when the input tool 20 is separatedfrom the device 1000, the device 1000 may enable the disabled screen ofthe device 1000. In addition, for example, when the device 1000 receivesa message, the device 1000 may enable the disabled screen of the device1000. In addition, for example, when the device 1000 moves along apredetermined pattern, the device 1000 may detect the motion of thedevice 1000 by using a motion sensor provided within the device 1000 andenable the disabled screen of the device 1000.

In operation S210, the device 1000 may determine whether the input tool20 is separated from the device 1000. The device 1000 may determinewhether the input tool 20 is separated from the device 1000 by using asensor provided within the device 1000. For example, the device 1000 maydetermine whether the input tool 20 is separated from the device 1000 byusing a photo coupler provided in a main board of the device 1000. Inaddition, for example, the device 1000 may determine whether the inputtool 20 is separated from the device 1000 by using a toggle switchprovided in a portion where the input tool 20 is attached or detachedwithin the device 1000.

In operation S220, the device 1000 may select one user interface among aplurality of user interfaces for unlocking the device 1000. The userinterface for unlocking the device 1000 may be a user interface forguiding to a user a touch input for unlocking the device 1000. Inaddition, the user interface for unlocking the device 1000 may bedivided into a user interface for receiving a touch input by the inputtool 20 and a user interface for receiving a touch input by a body partof a user. The body part of the user may be, for example, a finger ofthe user.

In addition, for example, the user interface for receiving the touchinput by the input tool 20 may be a user interface for receiving asignature input of a user. In addition, for example, the user interfacefor receiving the touch input by the body part of the user may include auser interface for receiving a pattern input of the user, a userinterface for receiving a password input of the user, and a userinterface for receiving a fingerprint input of the user. In addition,for example, the user interface for receiving the signature input of theuser may include a description phrase for guiding the signature input ofthe user and a region for receiving the signature input of the user. Inaddition, for example, the user interface for receiving the patterninput of the user may include a description phrase for guiding thepattern input of the user and a plurality of points for receiving thepattern input of the user. In addition, for example, the user interfacefor receiving the password input of the user may include a descriptionphrase for guiding the password input of the user and a keypad. Inaddition, for example, the user interface for receiving the fingerprintinput of the user may include a text for guiding the fingerprint inputof the user. However, the exemplary embodiment is not limited thereto.The user interface may be a user interface for receiving at least twoselected from among the signature input of the user, the pattern inputof the user, the password input of the user, and the fingerprint inputof the user.

In addition, when it is determined that the input tool 20 is separatedfrom the device 1000, the device 1000 may select a user interface forreceiving the touch input by the input tool 20. For example, when it isdetermined that the input tool 20 is separated from the device 1000, thedevice 1000 may select a user interface for receiving the signatureinput of the user among a plurality of user interfaces.

In addition, when it is determined that the input tool 20 is notseparated from the device 1000, the device 1000 may select a userinterface for receiving the touch input by the body part of the user.For example, when it is determined that the input tool 20 is notseparated from the device 1000, the device 1000 may select one userinterface among the user interface for receiving the pattern input ofthe user, the user interface for receiving the button input of the user,and the user interface for receiving the fingerprint input of the user.

In operation S230, the device 1000 may display the selected userinterface. The device 1000 may enable the disabled screen thereof anddisplay the user interface selected in operation S220 on the screen ofthe device 1000. However, the exemplary embodiment is not limitedthereto. The device 1000 may enable the disabled screen thereof, displaya predetermined user interface or an image on the screen of the device1000, and display the user interface selected in operation S220 on thescreen of the device 1000.

In operation S240, the device 1000 may receive the touch input withrespect to the displayed user interface. When the user interface forreceiving the touch input by the input tool 20 is displayed on thescreen of the device 1000, the device 1000 may receive the touch inputby the input tool 20. In addition, when the user interface for receivingthe touch input by the body part of the user is displayed on the screenof the device 1000, the device 1000 may receive the touch input by thebody part of the user. In addition, the device 1000 may be unlockedbased on the received touch input.

FIG. 3 is a flowchart of a method of selectively displaying a userinterface for unlocking the device 100, based on a separation of aninput tool, according to an exemplary embodiment.

In operation S300, the device 1000 may enable a disabled screen thereof.When the device 1000 is in a standby mode, the screen of the device 1000may be disabled. When a button input by a user is received, the device1000 may enable the disabled screen thereof. In addition, when thedevice 1000 moves along a predetermined pattern, the device 1000 maydetect the motion of the device 1000 by using a motion sensor providedwithin the device 1000 and enable the disabled input tool 20.

In operation S305, the device 1000 may determine whether the input tool20 is separated from the device 1000. The device 1000 may determinewhether the input tool 20 is separated from the device 1000 by using anoptical sensor or a toggle switch provided within the device 1000.

In operation S310, when it is determined in operation S305 that theinput tool 20 is separated from the device 1000, the device 1000 mayenable the sensor for detecting the touch input by the input tool 20.For example, the sensor for detecting a magnetic field generated by theinput tool 20 may be positioned under the screen of the device 1000. Inaddition, when it is determined that the input tool 20 is separated fromthe device 1000, the device 1000 may enable the sensor for detecting themagnetic field generated by the input tool 20. However, the exemplaryembodiment is not limited thereto. When the disabled screen of thedevice 1000 is enabled, the device 1000 may enable the sensor fordetecting the touch input by the input tool 20, regardless of theseparation of the input tool 20 from the device 1000.

In operation S315, the device 1000 may select the user interface forreceiving the touch input by the input tool 20. For example, the device1000 may select the user interface for receiving the signature input ofthe user.

In operation S320, the device 1000 may display the selected userinterface. The device 1000 may display the user interface for receivingthe touch input by the input tool 20 (for example, the user interfacefor receiving the signature input of the user) on the screen of thedevice 1000.

In operation S325, the device 1000 may receive the signature input ofthe user with respect to the selected user interface. The user may inputthe signature on the displayed user interface by using the input tool20, and the device 1000 may receive the signature input of the user byusing the sensor enabled in operation S310.

In operation S330, the device 1000 may be unlocked. The device 1000 maycompare the received signature input with the signature stored in thedevice 1000. When it is determined that the received signature ismatched with the stored signature, the device 1000 may be unlocked.

On the other hand, in operation S340, when it is determined in operationS305 that the input tool 20 is not separated from the device 1000, thedevice 1000 may enable the sensor for detecting the touch input by thebody part of the user. For example, the screen of the device 1000 may bea touch screen, and the device may enable a touch sensor provided withinthe touch screen. In addition, the touch sensor may be implemented witha resistive touch sensor, a capacitive touch sensor, an infrared touchsensor, or an acoustic wave touch sensor. However, the exemplaryembodiment is not limited thereto. When the disabled screen of thedevice 1000 is enabled, the device 1000 may enable the sensor fordetecting the touch input by the body part of the user, regardless ofthe separation of the input tool 20 from the device 1000.

In operation S345, the device 1000 may select the user interface forreceiving the touch input by the body part of the user. For example, thedevice 1000 may select one user interface among the user interface forreceiving the pattern input of the user, the user interface forreceiving the button input of the user, and the user interface forreceiving the fingerprint input of the user.

In operation S350, the device 1000 may display the selected userinterface. For example, the device 1000 may display one user interfaceamong the user interface for receiving the pattern input of the user,the user interface for receiving the button input of the user, and theuser interface for receiving the fingerprint input of the user.

In operation S355, the device 1000 may receive the password input or thepattern input with respect to the selected user interface. The user maydraw the pattern or touch the password on the screen of the device 1000with his or her finger, and the device 1000 may receive the input of theuser by using the sensor enabled in operation S340. In addition, thedevice 1000 may recognize the fingerprint of the user.

In operation S330, the device 1000 may be unlocked. The device 1000 maycompare the received pattern input with the pattern stored in the device1000. When it is determined that the received pattern is matched withthe stored pattern, the device 1000 may be unlocked. In addition, thedevice 1000 may compare the received password input with the passwordstored in the device 1000. When it is determined that the receivedpassword is matched with the stored password, the device 1000 may beunlocked. The device 1000 may compare the received fingerprint inputwith the fingerprint stored in the device 1000. When it is determinedthat the received fingerprint is matched with the stored fingerprint,the device 1000 may be unlocked.

FIG. 4 is a flowchart of a method of selectively displaying a userinterface for unlocking a device 1000, based on a hovering input,according to an exemplary embodiment.

In operation S400, the device 1000 may enable a disabled screen thereof.When the device 1000 is in a standby mode, the screen of the device 1000may be disabled. When a button input by a user is received, the device1000 may enable the disabled screen thereof. In addition, when thedevice 1000 moves along a predetermined pattern, the device 1000 maydetect the motion of the device 1000 by using a motion sensor providedwithin the device 1000 and enable the disabled input tool 20.

In operation S410, the device 1000 may receive a hovering input of theuser. The user may approach the input tool 20 or his or her body part(for example, finger), without touching the screen of the device 1000,and the device 1000 may receive the hovering input of the user bydetecting the input tool 20 or the body part approached to the screen ofthe device 1000.

In operation S420, the device 1000 may determine whether the hoveringinput of the user is an input by the input tool 20 or an input by thebody part of the user.

The device 1000 may detect the hovering input by the input tool 20 byusing a sensor for detecting a touch input by the input tool 20. Thesensor for detecting the touch input by the input tool 20 may include aplurality of sensor coils, and the input tool 20 may include a coil anda capacitor. In addition, when a voltage is applied to the sensor coilsof the sensor for detecting the touch input by the input tool 20, amagnetic field may be generated on the surface of the device 1000 andenergy may be stored in a resonance circuit provided within the inputtool 20. In addition, when the voltage application to the sensor coil isstopped, the magnetic field may be transferred from the input tool 20 tothe sensor coil. Therefore, the device 1000 may detect the hoveringinput by the input tool 20. However, the exemplary embodiment is notlimited thereto.

In addition, the device 1000 may detect the hovering input by the bodypart of the user by using a sensor for detecting a touch input by thebody part of the user. The device 1000 may detect the hovering input bythe body part of the user by using the touch sensor of the touch screen(for example, the capacitive touch sensor).

In addition, the device 1000 may determine whether the hovering input isan input by the input tool 20 or an input by the body part of the user,according to which sensor detects the hovering input.

In operation S430, the device 1000 may selectively display the userinterface for unlocking the device 1000, based on the determinationresult in operation S420.

When it is determined that the hovering input is the input by the inputtool 20, the device 1000 may display the user interface for receivingthe touch input by the input tool 20 (for example, the user interfacefor receiving the signature input of the user) on the screen of thedevice 1000.

In addition, when it is determined that the hovering input is the inputby the body part of the user, the device 1000 may display the userinterface for receiving the touch input by the body part of the user(for example, at least one user interface among the user interface forreceiving the pattern input of the user, the user interface forreceiving the button input of the user, and the user interface forreceiving the fingerprint input of the user).

In operation S440, the device 1000 may receive the touch input withrespect to the displayed user interface. The device 1000 may receive thesignature input of the user, the pattern input of the user, the passwordinput of the user, or the fingerprint input of the user through thedisplayed user interface. In addition, the device 1000 may be unlockedbased on the received input.

FIG. 5 is a detailed flowchart of the method of selectively displayingthe user interface for unlocking the device 1000, based on the hoveringinput, according to an exemplary embodiment.

In operation S500, the device 1000 may enable the disabled screenthereof. In operation S505, the device 1000 may receive the hoveringinput of the user.

In addition, in operation S510, the device 1000 may determine whetherthe hovering input of the user is an input by the input tool 20 or aninput by the body part of the user.

In operation S515, when it is determined in operation S510 that thehovering input of the user is the input by the input tool 20, the device1000 may select the user interface for receiving the touch input by theinput tool 20 (for example, the user interface for receiving thesignature input of the user) and display the selected user interface onthe screen of the device 1000.

In operation S520, the device 1000 may generate a virtual layer forreceiving the touch input by the input tool 20. In addition, the device1000 may display the virtual layer for receiving the touch input by theinput tool 20 on the screen of the device 1000. In addition, the device1000 may add the user interface selected in operation S315 to thevirtual interface for receiving the touch input by the input tool 20.

In operation S525, the device 1000 may receive the signature input ofthe user with respect to the user interface displayed in operation S515.In addition, the device 1000 may receive the signature input of the userthrough the virtual layer generated in operation S520.

On the other hand, in operation S540, when it is determined in operationS510 that the hovering input of the user is the input by the body partof the user, the device 1000 may determine a size and a display positionof the user interface for receiving the touch input by the body part ofthe user. The device 1000 may select the user interface, based on theposition of the hovering input by the body part of the user, so that theuser easily inputs the touch input for unlocking to the device 1000. Inaddition, the device 1000 may determine a size and a display position ofthe user interface, based on the position of the hovering input by thebody part of the user, so that the user easily inputs the touch inputfor unlocking to the device 1000. For example, when the hovering inputis detected in an upper portion of the screen of the device 1000, thedevice 1000 may display points for pattern input on the upper portion ofthe screen of the device 1000. In addition, for example, when thehovering input is detected in a right portion of the screen of thedevice 1000, the device 1000 may display a keypad for password input onthe right portion of the screen of the device 1000. In addition, forexample, when the hovering input is detected in a left portion of thescreen of the device 1000, the device 1000 may display a guideline forfingerprint input on the left portion of the screen of the device 1000.

In operation S545, the device 1000 may display the user interface forreceiving the touch input by the body part of the user on the screen ofthe device 1000. In operation S540, the device 1000 may display the userinterface, based on the size and the position determined in operationS540.

In operation S550, the device 1000 may receive the password input or thepattern input with respect to the displayed user interface. The user maydraw the pattern or touch the password on the screen of the device 1000with his or her finger, and the device 1000 may receive the input of theuser by using the sensor of the touch screen. In addition, the device1000 may recognize the fingerprint of the user.

In operation S530, the device 1000 may be unlocked. The device 1000 maybe unlocked based on the input received in operation S525 or S550.

FIG. 6 is a flowchart of a method of selectively displaying a userinterface for unlocking a device 1000, based on a registration of asignature in the device 1000, according to an exemplary embodiment.

In operation S600, the device 1000 may enable a disabled screen thereof.When the device 1000 is in a standby mode, the screen of the device 1000may be disabled. When a button input by a user is received, the device1000 may enable the disabled screen of the device 1000. In addition,when the device 1000 moves along a predetermined pattern, the device1000 may enable the disabled input tool 20.

In operation S610, the device 1000 may determine whether the signatureof the user is registered in the device 1000.

In operation S620, when it is determined in operation S610 that thesignature of the user is registered, the device 1000 may receive ahovering input. The user may approach the input tool 20 or his or herbody part (for example, finger), without touching the screen of thedevice 1000, and the device 1000 may receive the hovering input of theuser by detecting the input tool 20 or the body part approached to thescreen of the device 1000.

In operation S630, the device 1000 may selectively display the userinterface for unlocking the device 1000 according to whether thehovering input is the input by the input tool 20. When it is determinedthat the hovering input is the input by the input tool 20, the device1000 may display the user interface for receiving the touch input by theinput tool 20 (for example, the user interface for receiving thesignature input of the user) on the screen of the device 1000. Inaddition, when it is determined that the hovering input is the input bythe body part of the user, the device 1000 may display the userinterface for receiving the touch input by the body part of the user(for example, at least one user interface among the user interface forreceiving the pattern input of the user, the user interface forreceiving the button input of the user, and the user interface forreceiving the fingerprint input of the user).

In operation S640, when it is determined in operation S610 that thesignature of the user is not registered, the device 1000 may display theuser interface for receiving the touch input by the body part of theuser. For example, the device 1000 may select at least one userinterface among the user interface for receiving the pattern input ofthe user, the user interface for receiving the button input of the user,and the user interface for receiving the fingerprint input of the user.

FIG. 7 is a flowchart of a method of changing a user interface forunlocking a device 1000, based on a hovering input, according to anexemplary embodiment.

In operation S700, the device 1000 may enable the disabled screen of thedevice 1000. In operation S710, the device 1000 may display the userinterface for unlocking the device 1000 on the screen of the device1000. The user interface to be displayed may be previously set. Thedevice 1000 may display either or both of the user interface forreceiving the touch input by the input tool 20 and the user interfacefor receiving the touch input by the body part of the user. In a casewhere both of the user interface for receiving the touch input by theinput tool 20 and the user interface for receiving the touch input bythe body part of the user are displayed, the two user interfaces may bedisplayed in an overlapped manner. In addition, the transparency of theoverlapped user interfaces may be adjusted. For example, the overlappeduser interfaces may be translucently displayed.

In operation S720, the device 1000 may receive the hovering input of theuser. In operation S730, the device 1000 may determine whether thehovering input of the user is an input by the input tool 20 or an inputby the body part of the user.

In operation S740, the device 1000 may change the user interfacedisplayed in operation S710, based on the determination result inoperation S730. For example, when the user interface for receiving thetouch input by the input tool 20 is displayed in operation S710 and itis determined in operation S730 that the hovering input is the input bythe body part of the user, the device 1000 may change the displayed userinterface to the user interface for receiving the touch input by thebody part of the user. In addition, for example, when the user interfacefor receiving the touch input by the body part of the user is displayedin operation S710 and it is determined in operation S730 that thehovering input is the input by the input tool 20, the device 1000 maychange the displayed user interface to the user interface for receivingthe touch input by the input tool 20. In addition, for example, whenboth of the user interface for receiving the touch input by the inputtool 20 and the user interface for receiving the touch input by the bodypart of the user are displayed in operation S710 and it is determined inoperation S730 that the hovering input is the input by the body part ofthe user, the device 1000 may delete the user interface for receivingthe touch input by the input tool 20. In addition, the device 1000 mayopaquely display the user interface for receiving the touch input by thebody part of the user.

FIG. 8 is a diagram illustrating a configuration of a device 1000 fordetermining whether an input tool 20 is separated from the device 1000,according to an exemplary embodiment.

As illustrated in FIG. 8A, the device 1000 may include a toggle switchprovided in a main board 18 thereof. In addition, the toggle switch 30may protrude within a range in which the input tool 20 is detached orattached. As the input tool 20 is detached from or attached to thedevice 1000, the toggle switch 30 may be pressed or released by theinput tool 20. Therefore, the device 1000 may determine whether theinput tool 20 is separated from the device 1000.

In addition, as illustrated in FIG. 8B, a photo coupler 40 may beprovided at an end portion of the input tool 20 mounted on the device1000. For example, the photo coupler 40 may be installed on the mainboard 18 in a surface mount device (SMD) type. In addition, bypositioning the end portion of the input tool 20 mounted on the device1000 between a light emitting portion 41 and a light receiving portion42 of the photo coupler 40, the device 1000 may detect whether the lightemitting portion 41 irradiates light on the light receiving portion 42.Therefore, the device 1000 may determine whether the input tool 20 isseparated from the device 1000.

On the other hand, although not illustrated in FIG. 8, a hall sensor maybe mounted on the main board 18 and a magnet may be installed at apredetermined position of the input tool 20. In addition, since amagnetic force of a magnet is detected by the hall sensor, the device1000 may determine whether the input tool 20 is separated from thedevice 1000.

In addition, the method of determining whether the input tool 20 isseparated from the device 1000 in the device 1000 is not limited to themethod described with reference to FIG. 8, and the device 1000 may usevarious sensors to determine whether the input tool 20 is separated fromthe device 1000.

FIGS. 9A to 10D are diagrams of a device 1000 that selectively displaysa user interface for unlocking a device 1000, based onattachment/detachment of an input tool 20, according to an exemplaryembodiment.

Referring to FIG. 9A, when the input tool 20 is in a state of beingseparated from the device 1000, the disabled screen of the device 1000may be enabled. In addition, referring to FIG. 9B, the device 1000 maydetermine that the input tool 20 has been separated from the device1000. Accordingly, the device 1000 may display the user interface forreceiving the signature input of the user on the enabled screen.

In addition, referring to FIG. 9C, the user may mount the input tool 20within the device 1000. In addition, referring to FIG. 9D, the device1000 may determine that the input tool 20 has not been separated fromthe device 1000. Accordingly, the device 1000 may change the displayeduser interface to the user interface for receiving the pattern input ofthe user.

On the other hand, referring to FIG. 10A, when the input tool 20 is in astate of not being separated from the device 1000, the disabled screenof the device 1000 may be enabled. In addition, referring to FIG. 10B,the device 1000 may determine that the input tool 20 has not beenseparated from the device 1000. Accordingly, the device 1000 may displaythe user interface for receiving the pattern input of the user on theenabled screen.

In addition, referring to FIG. 10C, the user may separate the input tool20 from the device 1000. In addition, referring to FIG. 10D, the device1000 may determine that the input tool 20 has been separated from thedevice 1000. Accordingly, the device 1000 may change the displayed userinterface to the user interface for receiving the signature input of theuser.

FIGS. 11A to 12D are diagrams of a device 1000 that selectively displaysa user interface for unlocking the device 1000, based on a hoveringinput, according to an exemplary embodiment.

Referring to FIG. 11A, when the input tool 20 is in a state of beingseparated from the device 1000, the disabled screen of the device 1000may be enabled. In addition, referring to FIG. 11B, the device 1000 maydisplay the preset user interface for receiving the pattern input of theuser on the enabled screen.

In addition, referring to FIG. 11C, the user may approach the input tool20 to the screen of the device 1000, and the device 1000 may receive ahovering input by the input tool 20. In addition, referring to FIG. 11D,the device 1000 may determine that the hovering input is an input by theinput tool 20, and the device 1000 may change the displayed userinterface to the user interface for receiving the signature input of theuser.

On the other hand, referring to FIG. 12A, when the input tool 20 is in astate of being separated from the device 1000, the disabled screen ofthe device 1000 may be enabled. In addition, referring to FIG. 12B, thedevice 1000 may display the preset user interface for receiving thesignature input of the user on the enabled screen.

In addition, referring to FIG. 12C, the user may approach his or herfinger to the screen of the device 1000, and the device 1000 may receivea hovering input by the finger. In addition, referring to FIG. 12D, thedevice 1000 may determine that the hovering input is an input by thebody part of the user, and the device 1000 may change the displayed userinterface to the user interface for receiving the pattern input of theuser.

FIGS. 13 and 14 are block diagrams of a device 1000 according to anexemplary embodiment.

As illustrated in FIG. 13, the device 1000 according to the exemplaryembodiment may include a user input unit 1100, a display unit 1210, anda processor 1300. However, all illustrated elements are not essentialelements. The device 1000 may be implemented with a larger number ofelements than those illustrated in FIG. 13, or may be implemented with asmaller number of elements than those illustrated in FIG. 13.

For example, as illustrated in FIG. 14, the device 1000 according to theexemplary embodiment may further include an output unit 1200, a sensingunit 1400, a communication unit 1500, an audio/video (A/V) input unit1600, and a memory 1700, in addition to the user input unit 1100, thedisplay unit 1210, and the processor 1300.

Hereinafter, the elements of the device 1000 will be described insequence.

The user input unit 1100 is a unit that allows the user to input datafor controlling the device 1000. For example, the user input unit 1100may include a key pad, a dome switch, a touch pad (a touch-typecapacitive touch pad, a pressure-type resistive touch pad, an infraredbeam sensing type touch pad, a surface acoustic wave type touch pad, anintegral strain gauge type touch pad, a piezo effect type touch pad, orthe like), a jog wheel, and a jog switch, but is not limited thereto.

The user input unit 1100 may receive the user input under the control ofthe processor 1300. For example, the user input unit 1100 may receivethe user input for unlocking the device 1000.

The output unit 1200 outputs an audio signal, a video signal, or avibration signal under the control of the processor 1300. The outputunit 1200 may include a display unit 1210, an audio output unit 1220,and a vibration motor 1230.

The display unit 1210 displays information processed in the device 1000under the control of the processor 1300. The display unit 1210 maydisplay and change the user interface for unlocking the device 1000.

On the other hand, in a case where the display unit 1210 and a touch padform a layered structure to constitute a touch screen, the display unit1210 may also be used as an input unit as well as an output unit. Thedisplay unit 1210 may include at least one from among a liquid crystaldisplay (LCD), a thin-film transistor-liquid crystal display (TFT-LCD),an organic light-emitting diode (OLED), a flexible display, a 3Ddisplay, and an electrophoretic display. According to implementations ofthe device 1000, the device 1000 may include two or more display units1210. The two or more display units 1210 may be disposed to face eachother by using a hinge.

The audio output unit 1220 outputs audio data that is received from thecommunication unit 1500 or is stored in the memory 1700. In addition,the audio output unit 1220 outputs an audio signal related to functions(for example, a call signal reception sound, a message reception sound,and a notification sound) performed by the device 1000. The audio outputunit 1220 may include a speaker, a buzzer, or the like.

The vibration motor 1230 may output a vibration signal. For example, thevibration motor 1230 may output a vibration signal which corresponds toan output of audio data or video data (for example, a call signalreception sound, a message reception sound, or the like). In addition,the vibration motor 1230 may output a vibration signal when a touch isinput to a touch screen.

The processor 1300 controls an overall operation of the device 1000. Forexample, the processor 1300 may control the user input unit 1100, theoutput unit 1200, the sensing unit 1400, the communication unit 1500,and the A/V input unit 1600 by executing a program stored in the memory1700.

Specifically, the processor 1300 may enable a disabled screen of thedevice 1000. When the device 1000 is in a standby mode, the screen ofthe device 1000 may be disabled. When a button input by a user isreceived, the processor 1300 may enable the disabled screen of thedevice 1000.

In addition, the processor 1300 may determine whether the input tool 20is separated from the device 1000. The processor 1300 may determinewhether the input tool 20 is separated from the device 1000 by using asensor provided within the device 1000. For example, the processor 1300may determine whether the input tool 20 is separated from the device1000 by using a photo coupler provided in a main board of the device1000. In addition, for example, the processor 1300 may determine whetherthe input tool 20 is separated from the device 1000 by using a toggleswitch provided in a portion where the input tool 20 is attached ordetached within the device 1000.

In addition, when it is determined that the input tool 20 is separatedfrom the device 1000, the processor 1300 may enable a sensor fordetecting a touch input by the input tool 20. For example, the sensorfor detecting a magnetic field generated by the input tool 20 may bepositioned under the screen of the device 1000. In addition, when it isdetermined that the input tool 20 is separated from the device 1000, theprocessor 1300 may enable the sensor for detecting the magnetic fieldgenerated by the input tool 20.

On the other hand, when it is determined that the input tool 20 is notseparated from the device 1000, the processor 1300 may enable a sensorfor detecting a touch input by the body part of the user. For example,the screen of the device 1000 may be a touch screen, and the processor1300 may enable a touch sensor provided within the touch screen. Inaddition, the touch sensor may be implemented with a resistive touchsensor, a capacitive touch sensor, an infrared touch sensor, or anacoustic wave touch sensor.

In operation, the processor 1300 may select one user interface among aplurality of user interfaces for unlocking the device 1000. The userinterface for unlocking the device 1000 may be divided into a userinterface for receiving the touch input by the input tool 20 and a userinterface for receiving the touch input by the body part of the user.The body part of the user may be, for example, a finger of the user.

In addition, when it is determined that the input tool 20 is separatedfrom the device 1000, the processor 1300 may select the user interfacefor receiving the touch input by the input tool 20. For example, when itis determined that the input tool 20 is separated from the device 1000,the processor 1300 may select a user interface for receiving thesignature input of the user among a plurality of user interfaces.

In addition, when it is determined that the input tool 20 is notseparated from the device 1000, the processor 1300 may select the userinterface for receiving the touch input by the body part of the user.For example, when it is determined that the input tool 20 is notseparated from the device 1000, the processor 1300 may select one userinterface among the user interface for receiving the pattern input ofthe user, the user interface for receiving the button input of the user,and the user interface for receiving the fingerprint input of the user.

In addition, the processor 1300 may display the selected user interfaceby controlling the display unit 1210. The processor 1300 may enable thedisabled screen of the device 1000 and display the selected userinterface on the screen of the device 1000. However, the exemplaryembodiment is not limited thereto. The processor 1300 may enable thedisabled screen of the device 1000, display a predetermined userinterface or an image on the screen of the device 1000, and display theselected user interface on the screen of the device 1000.

In addition, the processor 1300 may receive the touch input with respectto the displayed user interface by controlling the user input unit 1100.When the user interface for receiving the touch input by the input tool20 is displayed on the screen of the device 1000, the processor 1300 mayreceive the touch input by the input tool 20. In addition, when the userinterface for receiving the touch input by the body part of the user isdisplayed on the screen of the device 1000, the processor 1300 mayreceive the touch input by the body part of the user. In addition, theprocessor 1300 may unlock the device 1000, based on the received touchinput.

On the other hand, the processor 1300 may receive a hovering input ofthe user by controlling the user input unit 1100. The user may approachthe input tool 20 or his or her body part (for example, finger), withouttouching the screen of the device 1000, and the processor 1300 mayreceive the hovering input of the user by detecting the input tool 20 orthe body part approached to the screen of the device 1000.

In addition, the processor 1300 may determine whether the hovering inputof the user is an input by the input tool 20 or an input by the bodypart of the user.

The processor 1300 may detect the hovering input by the input tool 20 byusing a sensor for detecting a touch input by the input tool 20. Thesensor for detecting the touch input by the input tool 20 may include aplurality of sensor coils, and the input tool 20 may include a coil anda capacitor. In addition, when a voltage is applied to the sensor coilsof the sensor for detecting the touch input by the input tool 20, amagnetic field may be generated on the surface of the device 1000 andenergy may be stored in a resonance circuit provided within the inputtool 20. In addition, when the voltage application to the sensor coil isstopped, the magnetic field may be transferred from the input tool 20 tothe sensor coil. Therefore, the processor 1300 may detect the hoveringinput by the input tool 20. However, the exemplary embodiment is notlimited thereto.

In addition, the processor 1300 may detect the hovering input by thebody part of the user by using a sensor for detecting a touch input bythe body part of the user. The processor 1300 may detect the hoveringinput by the body part of the user by using the touch sensor of thetouch screen (for example, the capacitive touch sensor).

In addition, the processor 1300 may determine whether the hovering inputis an input by the input tool 20 or an input by the body part of theuser, according to which sensor detects the hovering input.

In addition, the processor 1300 may selectively display the userinterface for unlocking the device 1000, according to whether thehovering input is the input by the input tool 20 or the input by thebody part of the user.

When it is determined that the hovering input is the input by the inputtool 20, the processor 1300 may control the display unit 1210 such thatthe user interface for receiving the touch input by the input tool 20(for example, the user interface for receiving the signature input ofthe user) is displayed on the screen of the device 1000.

In addition, when it is determined that the hovering input is the inputby the body part of the user, the processor 1300 may control the displayunit 1210 such that the user interface for receiving the touch input bythe body part of the user (for example, at least one user interfaceamong the user interface for receiving the pattern input of the user,the user interface for receiving the button input of the user, and theuser interface for receiving the fingerprint input of the user) isdisplayed on the screen of the device 1000.

On the other hand, the processor 1300 may determine whether thesignature of the user is registered in the device 1000 and determine theuser interface for unlocking the device 1000, based on the determinationresult. For example, when it is determined that the signature of theuser is not registered in the device 1000, the processor 1300 maydisplay the user interface for receiving the touch input by the bodypart of the user. In addition, for example, when it is determined thatthe signature of the user is registered in the device 1000, theprocessor 1300 may selectively display the user interface for receivingthe touch input by the body part of the user and the user interface forreceiving the touch input by the input tool 20.

On the other hand, the processor 1300 may enable the disabled screen ofthe device 1000 and display a preset first user interface on the screenof the device 1000. In addition, when the input tool 20 is detached orattached or the hovering input is received, the processor 1300 maychange the displayed first user interface to a second user interface.

The sensing unit 1400 may detect a state of the device 1000 or a statearound the device 1000 and transfer the detected information to theprocessor 1300. The sensing unit 1400 may include at least one selectedfrom among a geomagnetic sensor 1410, an acceleration sensor 1420, atemperature/humidity sensor 1430, an infrared sensor 1440, a gyroscopesensor 1450, a position sensor (for example, GPS) 1460, a pressuresensor 1470, a proximity sensor 1480, and an RGB sensor (illuminancesensor) 149, but is not limited thereto. Since the functions of therespective sensors may be intuitively inferred from their names, adetailed description thereof will be omitted.

In addition, the sensing unit 1400 may include a sensor for detectingthe touch input by the input tool and a sensor for detecting the touchinput by the user. In this case, the sensor for detecting the touchinput by the user may be included in the touch screen or the touch pad.In addition, the sensor for detecting the touch input by the input toolmay be positioned under the touch screen or the touch pad or may beincluded in the touch screen or the touch pad.

The communication unit 1500 may include one or more elements forcommunication between the device 1000 and an external device (notillustrated) or communication between the device 1000 and a server (notillustrated). For example, the communication unit 1500 may include ashort-range wireless communication unit 151, a mobile communication unit152, and a broadcasting receiving unit 153.

The short-range wireless communication unit 1510 may include a Bluetoothcommunication unit, a Bluetooth low energy (BLE) communication unit, anear field communication (NFC) unit, a WLAN (WiFi) communication unit, aZigbee communication unit, an infrared data association (IrDA)communication unit, a Wi-Fi direction (WFD) communication unit, an ultrawideband (UWB) communication unit, or an Ant+ communication unit, but isnot limited thereto.

The mobile communication unit 1520 may transmit and receive a wirelesssignal with at least one selected from a base station, an externalterminal, and a server on a mobile communication network. The wirelesssignal may include a voice call signal, a video call signal, or varioustypes of data according to text/multimedia messagetransmission/reception.

The broadcasting receiving unit 1530 may receive broadcasting signalsand/or broadcasting-related information from the outside via abroadcasting channel. The broadcasting channel may include a satellitechannel and a terrestrial broadcast channel. According to variousembodiments, the device 1000 may not include the broadcasting receivingunit 1530.

The A/V input unit 1600 functions to input audio or video signals andmay include a camera 1610 and a microphone 1620. The camera 1610 mayobtain an image frame, such as a still picture or a moving picture,through an image sensor in a video phone mode or a photographing mode.An image captured through the image sensor may be processed through theprocessor 1300 or a separate image processor (not illustrated).

The image frame processed in the camera 1610 may be stored in the memory1700 or may be transmitted to the outside through the communication unit1500. The A/V input unit 1600 may include two or more cameras accordingto the configuration type of the device 1000.

The microphone 1620 may receive external sound signals and process theexternal sound signals into electrical voice data. For example, themicrophone 1620 may receive audio signals from an external device or aperson who speaks. The microphone 1620 may use various noise removalalgorithms for removing noise generated in the process of receivingexternal audio signals.

The memory 1700 may store a program for processing and control of theprocessor 1300 and may store input/output data.

The memory 1700 may include a storage medium selected from among a flashmemory, a hard disk, a multimedia card micro type memory, a card typememory (for example, SD or XD memory), a random access memory (RAM), astatic random access memory (SRAM), a read-only memory (ROM), anelectrically erasable programmable read-only memory (EEPROM), aprogrammable read-only memory (PROM), a magnetic memory, a magneticdisk, and an optical disk. In addition, the device 1000 may operate aweb storage or a cloud server that performs the storage function of thememory 1700 on the Internet.

The programs, stored in the memory 1700, may be classified into aplurality of modules according to functions. For example, the programsmay be classified into a user interface (UI) module 1710, a touch screenmodule 1720, and a notification module 1730.

The UI module 1710 may provide a specialized UI or GUI that interworkswith the device 1000 according to applications. The touch screen module1720 may detect a touch gesture of a user on a touch screen and transmitinformation on the touch gesture to the processor 1300. According to anexemplary embodiment, the touch screen module 1720 may recognize andanalyze touch codes. The touch screen module 1720 may be implementedwith separate hardware including a controller.

Various types of sensors may be disposed inside or near the touch screenso as to detect a touch or a proximity touch on the touch screen. Anexample of a sensor for detecting a touch on the touch screen may be atactile sensor. The tactile sensor is a sensor for detecting a contactof a specific object to such a degree that humans may feel the contactwith the specific object or to a higher degree. The tactile sensor maydetect various types of information such as information about aroughness of a contact surface, a hardness of a contact object, atemperature at a contact point, and the like.

In addition, an example of a sensor for detecting a touch on the touchscreen is a proximity sensor. The proximity sensor is a sensor thatdetects the presence or absence of an object approaching a predetermineddetection surface or an object existing near the sensor by using anelectromagnetic force or infrared light, without mechanical contact.Examples of the proximity sensor includes a transmission-typephotoelectric sensor, a direct reflection-type photoelectric sensor, amirror reflection-type photoelectric sensor, a radio frequencyoscillation-type proximity sensor, an electrostatic capacitance typeproximity sensor, a magnetic-type proximity sensor, and an infraredproximity sensor. Touch gestures of a user may include a tap, a touchand hold, a double-tap, a drag, panning, a flick, a drag-and-drop, aswipe, and the like.

The notification module 1730 may output a signal for notifying an eventoccurrence of the device 1000. Examples of events occurring in thedevice 1000 include a call signal reception, a message reception, a keysignal input, and a schedule notification. The notification module 1730may output a notification signal in a form of a video signal via thedisplay unit 1210 or in a form of an audio signal via the audio outputunit 1220. The notification module 1730 may also output a notificationsignal in a form of a vibration signal via the vibration motor 1230.

Various embodiments of the present disclosure may be embodied as arecording medium, e.g., a program module to be executed in computers,which include computer-readable commands. The computer storage mediummay include any usable medium that may be accessed by computers,volatile and non-volatile medium, and detachable and non-detachablemedium. Also, the computer storage medium may include a computer storagemedium and a communication medium. The computer storage medium includesall of volatile and non-volatile medium, and detachable andnon-detachable medium which are designed to store information includingcomputer readable commands, data structures, program modules or otherdata. The communication medium includes computer-readable commands, adata structure, a program module, and other transmission mechanisms, andincludes other information transmission mediums.

It should be understood that the various embodiments described thereinshould be considered in a descriptive sense only and not for purposes oflimitation. Descriptions of features or aspects within each embodimentshould typically be considered as available for other similar featuresor aspects in other embodiments. For example, configuring elements thatare singular forms may be executed in a distributed fashion, and also,configuring elements that are distributed may be combined and executed.

It should be understood that the exemplary embodiments described thereinshould be considered in a descriptive sense only and not for purposes oflimitation. Descriptions of features or aspects within each exemplaryembodiment should typically be considered as available for other similarfeatures or aspects in other exemplary embodiments.

While one or more exemplary embodiments have been described withreference to the figures, it will be understood by those of ordinaryskill in the art that various changes in form and details may be madetherein without departing from the spirit and scope as defined by thefollowing claims.

The invention claimed is:
 1. A method of unlocking a device, comprising:determining whether an input tool of the device is separated from thedevice, when a disabled screen of the device is enabled; selecting oneuser interface from among a plurality of user interfaces for unlockingthe device, based on the determination result; displaying the selecteduser interface on a screen of the device; and receiving a touch inputwith respect to the displayed user interface, wherein the plurality ofuser interfaces include a user interface for receiving a touch input bythe input tool and a user interface for receiving a touch input by abody part of a user.
 2. The method of claim 1, further comprising, whenit is determined that the input tool is separated from the device,enabling a sensor for detecting the touch input by the input tool,wherein the selecting of the user interface comprises selecting the userinterface for receiving the touch input by the input tool, based on thedetermination that the input tool is separated from the device.
 3. Themethod of claim 2, wherein the user interface for receiving the touchinput by the input tool is a user interface for receiving a signatureinput of the user.
 4. The method of claim 1, further comprising, when itis determined that the input tool is not separated from the device,enabling a sensor for detecting the touch input by the body part of theuser, wherein the selecting of the user interface comprises selectingcomprises selecting the user interface for receiving the touch input bythe body part of the user, based on the determination that the inputtool is not separated from the device.
 5. The method of claim 4, whereinthe user interface for receiving the touch input by the body part of theuser is a user interface for receiving a password input of the user or apattern input of the user.
 6. The method of claim 1, further comprisingselectively enabling a sensor for detecting the touch input by the inputtool and a sensor for detecting the touch input by the body part of theuser based on the determination result.
 7. At least one non-transitorycomputer-readable recording medium for storing a computer programconfigured to be readable by at least one processor to instruct the atleast one processor to execute a computer process for performing themethod of claim
 1. 8. A device comprising: a processor configured todetermine whether an input tool of the device is separated from thedevice, when a disabled screen of the device is enabled, and select oneuser interface from among a plurality of user interfaces for unlockingthe device, based on the determination result; and a display configuredto display the selected user interface on a screen of the device,wherein the processor is further configured to unlock the device, basedon a touch input with respect to the displayed user interface, and theplurality of user interfaces includes a user interface for receiving atouch input by the input tool and a user interface for receiving a touchinput by a body part of a user.
 9. The device of claim 8, wherein theprocessor is further configured to: enable a sensor for detecting thetouch input by the input tool when it is determined that the input toolis separated from the device, and select a sensor for detecting thetouch input by the input tool when it is determined that the input toolis separated from the device.
 10. The device of claim 9, wherein theuser interface for receiving the touch input by the input tool is a userinterface for receiving a signature input of the user.
 11. The device ofclaim 8, wherein the processor is further configured to: enable a sensorfor detecting the touch input by the body part of the user when it isdetermined that the input tool is separated from the device, and selecta user interface for detecting the touch input by the body part of theuser when it is determined that the input tool is separated from thedevice.
 12. The device of claim 11, wherein the user interface forreceiving the touch input by the body part of the user is a userinterface for receiving a password input of the user or a pattern inputof the user.
 13. The device of claim 8, wherein a sensor configured todetect the touch input by the input tool and a sensor configured todetect the touch input by the body part of the user are selectivelyenabled based on the determination result.
 14. A device comprising: auser input unit interface configured to receive a hovering input of auser when a screen of the device is enabled; a processor configured todetermine whether the hovering input is an input by an input tool or aninput by a body part of the user; and a display configured toselectively display a first unlock screen user interface for unlockingthe device in response to the processor determining the hovering inputis the input by the input tool and a second unlock screen user interfacefor unlocking the device in response to the processor determining thehovering input is the body part of the user.
 15. The device of claim 14,wherein the first unlock screen user interface is a user interface forreceiving a touch input by the input tool.
 16. The device of claim 15,wherein the first unlock screen user interface is a user interface forreceiving a signature input of the user.
 17. The device of claim 16,wherein the processor is further configured to unlock the device inresponse to the received signature input matching a stored signature.18. The device of claim 14, wherein the second unlock screen userinterface is a user interface for receiving a password input of the useror a pattern input of the user.
 19. The device of claim 14, wherein thehovering input is contactless.